export const uploadImgPathList = [{
  id: 0,
  name: '默认目录'
}, {
  id: 1,
  name: '广告'
}];

export const initConfig = {
  maxlength:11,
  delId: '',
  // 分页
  page: {
    pageSize: 10,
    current: 1,
    total: 0
  },
  page1: {
    pageSize: 10,
    current: 1,
    total: 0
  },
  page2: {
    pageSize: 10,
    current: 1,
    total: 0
  },
  page3: {
    pageSize: 10,
    current: 1,
    total: 0
  },
  // 分页end
  form: {

  },
  detailForm:{

  },
  //弹窗状态
  isAdd: true, //新增true,修改false
  createModal: false, //新增，修改弹窗
  detailModal: false, //查看弹窗
  delModal: false, //删除弹窗
  //弹窗状态end
  //查询参数
  searchObj: {},
  createTitle: '新增',

  isDisable: false, //新增时提交按钮点击状态
  isLoading: false, //新增时提交按钮loading状态
  loadingText: '',
  //权限
  role_Add: false,
  role_Del: false,
  role_Edit: false,
  role_View: false,
}
